import vueRouter from 'vue-router'

import home from '../views/admin/home.vue'

const xmxtUserMg = () => import('@/views/admin/xmxt-user.vue')
const allmenu = () => import('@/views/admin/xmxt_allmenu.vue')
const menumg = () => import('@/views/admin/xmxt_menumg.vue')
const allrolr = () => import('@/views/admin/xmxt_allrolr.vue')

const signin = () => import('@/views/signin.vue')
const upFeil = () => import('@/views/file/xmxt-upFeil.vue')
const feilSelect = () => import('@/views/file/xmxt-feilSelect.vue')

const router = new vueRouter({

    routes: [
        { path: '/', component: home },
        { path: '/admin/user/userSelect', component: xmxtUserMg },
        { path: '/admin/menu/allmenu', component: allmenu },
        { path: '/admin/menu/menumg', component: menumg },
        { path: '/admin/rolrmg/allrolr', component: allrolr },
        { path: '/signin', component: signin },
        { path: '/fileMg/upFile', component: upFeil },
        { path: '/fileMg/fileSelect', component: feilSelect },

        // {path: '/admin/pptWare/:knowledgeId(\\d+)', component: pptWare},
        // {path: '/admin/microVideoWare/:knowledgeId(\\d+)', component: microVideoWare},
        // {path: '/admin/gameModule', component: gameModule},
        // {path: '/admin/cartogram', component: cartogram},
        // {path: '/admin/classz', component: classz},
        // {path: '/admin/student', component: users},
        // {path: '/admin/teacher', component: teacher},
        // {path: '/admin/errorQuestion', component: errorQuestion},
        // {path: '/admin/studentStudyLogs', component: studentStudyLogs},
        // {path: '/admin/allKnowStudyTotalStatics', component: allKnowStudyTotalStatics},
        // {path: '/admin/knowledgeDifficultyStatics', component: knowledgeDifficultyStatics},
        // // {path: '/admin/understandMemoryAccuracyStatistics', component: understandMemoryAccuracyStatistics},
        // {path: '/admin/problemSolvingTimeStatistics', component: problemSolvingTimeStatistics},
        // {path: '/admin/achievementStatistics', component: achievementStatistics},
        // {path: '/admin/coursewareTimeStatistics', component: coursewareTimeStatistics},
        // {path: '/admin/knowWareStudyTimeStatics', component: knowWareStudyTimeStatics},
        // {path: '/admin/averagePracticeTimeStatics', component: averagePracticeTimeStatics},
        // {path: '/admin/allLearnedTheStatusSheet', component: allLearnedTheStatusSheet},
        // // {path: '/admin/appAchievementStatistics', component: appAchievementStatistics},
        // {path: '/admin/sss', component: appAchievementStatistics},

    ],
    //去掉路径中 # 号
    mode: 'history'
})

export default router
